<style>
    .XH-Form-Node label{
        width: 70px;
    }
    .XH-Form-Node .form-inline{
        margin-top: 5px;
        margin-bottom: 5px;
    }
    .tree-view-menu-list a{
        cursor:pointer;
    }
    .XH-Tree-View-Icon a{
        float: left;
    }
    .XH-Tree-View-Icon li,ul{
        clear: both;
    }
    .XH-Tree-View-Icon a + i{
        margin-top: 12px;
        cursor:pointer;
    }
    body{
        overflow-y: auto;
    }
    .tree-view-menu-list > ul li .subtree li:after{
        height: 40px;
    }
</style>
{#<ul class="breadcrumb">#}
    {#<li><i class="fa fa-home fa-lg"></i> 主页</li>#}
    {#<li>导航管理</li>#}
    {#<li>修改导航</li>#}
{#</ul>#}
<div class="row">
    <div class="col-md-6">
        <div class="smart-widget">
            <div class="smart-widget-header">
                目前导航结构
                <i id="TreeViewDiv">（选择节点）</i>
                <i id="TreeChooseDiv" style="display: none">（选择父节点）</i>
            </div>
            <div class="smart-widget-inner">
                <div class="smart-widget-body" id="NavsTreeDiv" style="padding-left: 20px;max-height: 700px;overflow-y: auto;">
                    {{ navTree }}
                </div>
            </div>
        </div>
    </div>
    <div class="col-md-6">
        <div class="smart-widget">
            <div class="smart-widget-header">
                修改导航
            </div>
            <div class="smart-widget-inner">
                <div class="smart-widget-body" style="padding-left: 20px;">
                    <form id="form_EditNode" class="XH-Form-Node" action="{{ url('Sys/editNavNode') }}" method="post">
                        <div class="form-inline">
                            <label for="">导航名称：</label>
                            <input id="sNodeName" name="sNodeName" type="text" class="form-control click-readonly" readonly>
                            <input id="iNodeId" name="iNodeId" type="text" style="display: none">
                        </div>
                        <div class="form-inline">
                            <label for="">导航缩写：</label>
                            <input id="sNodeShortName" name="sNodeShortName" type="text" class="form-control click-readonly" readonly>
                        </div>
                        <div class="form-inline">
                            <label for="">导航图标：</label>
                            <input id="sNodeIcon" name="sNodeIcon" type="text" class="form-control click-readonly" readonly>
                        </div>
                        <div class="form-inline">
                            <label for="">父节点：</label>
                            <input id="sParentNodeName" name="sParentNodeName" type="text" class="form-control" placeholder="右侧点击选择" readonly>
                            <a id="bt_ChooseNode" class="btn btn-default btn-sm">选择</a>
                            <a id="bt_ClearNode" class="btn btn-default btn-sm">设为主导航</a>
                            <input id="iParentNodeId" name="iParentNodeId" type="text" style="display: none">
                        </div>
                        <div class="form-inline">
                            <label for="">左侧导航：</label>
                            <select id="iNodeType" name="iNodeType" class="form-control" style="width: 100px" disabled>
                                <option value="1">是</option>
                                <option value="3">否</option>
                            </select>
                        </div>
                        <div class="form-inline">
                            <label for="">URL：</label>
                            <input id="sFunctionUrl" name="sFunctionUrl" type="text" class="form-control click-readonly" style="width: 250px" readonly>
                        </div>
                        <div class="form-inline">
                            <label for="">导航属性：</label>
                            <input id="sFunctionAttr" name="sFunctionAttr" type="text" class="form-control click-readonly" readonly>
                        </div>
                        <input type="button" id="bt_EditNode" class="btn btn-success marginTB-xs disabled" value="修改导航" style="margin-left: 74px"/>
                        <input type="reset" class="btn btn-default marginTB-xs" value="重置"/>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<!--<div class="modal fade bs-example-modal-sm" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">-->
<!--    <div class="modal-dialog modal-sm" role="document">-->
<!--        <div class="modal-content">-->
<!--            <div class="modal-header">-->
<!--                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>-->
<!--                <h4 class="modal-title" id="myModalLabel">确认删除？</h4>-->
<!--            </div>-->
<!--            <div class="modal-footer">-->
<!--                <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>-->
<!--                <button id="bt_DelNode" type="button" class="btn btn-danger">删除</button>-->
<!--            </div>-->
<!--        </div>-->
<!--    </div>-->
<!--</div>-->
